package com.icow.wms.basic.domain;

import com.icow.common.annotation.Excel;
import com.icow.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 货位对象 wms_shelf
 * 
 * @author lqq
 * @date 2021-02-03
 */
public class WmsShelf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货位ID */
    private Long id;

    /** 货位编号 */
    @Excel(name = "货位编号")
    private String shelfNo;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseNo;

    /** 层级 */
    @Excel(name = "层级")
    private Long level;

    /** 货位类型 */
    @Excel(name = "货位类型")
    private String shelfType;

    /** 占用状态("0": "无货", "1": "入库中", "2": "有货", "3": "出库中") */
    @Excel(name = "占用状态")
    private Long loadStatus;

    /** 关联点位 */
    @Excel(name = "关联点位")
    private String loadName;

    /** 锁定状态 */
    @Excel(name = "锁定状态")
    private Integer locked;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShelfNo(String shelfNo) 
    {
        this.shelfNo = shelfNo;
    }

    public String getShelfNo() 
    {
        return shelfNo;
    }
    public void setWarehouseNo(String warehouseNo) 
    {
        this.warehouseNo = warehouseNo;
    }

    public String getWarehouseNo() 
    {
        return warehouseNo;
    }
    public void setLevel(Long level) 
    {
        this.level = level;
    }

    public Long getLevel() 
    {
        return level;
    }
    public void setShelfType(String shelfType) 
    {
        this.shelfType = shelfType;
    }

    public String getShelfType() 
    {
        return shelfType;
    }
    public void setLoadStatus(Long loadStatus) 
    {
        this.loadStatus = loadStatus;
    }

    public Long getLoadStatus() 
    {
        return loadStatus;
    }
    public void setLoadName(String loadName) 
    {
        this.loadName = loadName;
    }

    public String getLoadName() 
    {
        return loadName;
    }
    public void setLocked(Integer locked) 
    {
        this.locked = locked;
    }

    public Integer getLocked() 
    {
        return locked;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shelfNo", getShelfNo())
            .append("warehouseNo", getWarehouseNo())
            .append("level", getLevel())
            .append("shelfType", getShelfType())
            .append("loadStatus", getLoadStatus())
            .append("loadName", getLoadName())
            .append("locked", getLocked())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
